package com.leyou.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_spec_param")
public class Spec_param {
    @Id
    private Integer id;
    private Integer cid;
    private Integer group_id;
    private String name;
    @Column(name = "`numeric`")
    private Boolean numeric;
    private String unit;
    private  Boolean generic;
    private Boolean searching;
    private String segments;

    public Spec_param(Integer id, Integer cid, Integer group_id, String name, Boolean numeric, String unit, Boolean generic, Boolean searching, String segments) {
        this.id = id;
        this.cid = cid;
        this.group_id = group_id;
        this.name = name;
        this.numeric = numeric;
        this.unit = unit;
        this.generic = generic;
        this.searching = searching;
        this.segments = segments;
    }

    public Spec_param() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getGroup_id() {
        return group_id;
    }

    public void setGroup_id(Integer group_id) {
        this.group_id = group_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getNumeric() {
        return numeric;
    }

    public void setNumeric(Boolean numeric) {
        this.numeric = numeric;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Boolean getGeneric() {
        return generic;
    }

    public void setGeneric(Boolean generic) {
        this.generic = generic;
    }

    public Boolean getSearching() {
        return searching;
    }

    public void setSearching(Boolean searching) {
        this.searching = searching;
    }

    public String getSegments() {
        return segments;
    }

    public void setSegments(String segments) {
        this.segments = segments;
    }
}
